from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_cache import Cache

db = SQLAlchemy()
migrate = Migrate(db=db)
cache = Cache(with_jinja2_ext=False)

def config_extensions(app):
    db.init_app(app)
    migrate.init_app(app)
    cache.init_app(app)